﻿using SelfMadeMillionaire.Core.Entities;
using SelfMadeMillionaire.Core.Enums;
using SelfMadeMillionaire.Core.Specifications;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

namespace SelfMadeMillionaire.Core.Services
{
	public interface IUserPortfolioService
	{
        IEnumerable<UserPortfolio> GetAll(int subscriberId);
        IEnumerable<UserPortfolio> GetAll(Expression<Func<UserPortfolio, bool>> predicate);
        UserPortfolio Add(UserPortfolio item);
        UserPortfolio Update(UserPortfolio item);
        UserPortfolio Get(int id);
        void Remove(int id);

	}
}
